package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-11-04 21:28:17
 * 发展历程
 * </pre>
 * <small> 2018-11-04 21:28:17 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_develop")
@EqualsAndHashCode(callSuper=true) 
public class DevelopDO  extends Model< DevelopDO> implements Serializable {
	@TableId
	private Long id;

    /** 年份 */
    @ApiModelProperty("年份")
    @TableField("year")
    private Integer year;

    /** 内容 */
    @ApiModelProperty("内容")
    @TableField("text")
    private String text;

    /** 图片路径 */
    @ApiModelProperty("图片路径")
    @TableField("image_url")
    private String imageUrl;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
